package com.uchengwang.ui.cm_ui.cycle.bean;

import android.text.TextUtils;

import java.util.Arrays;
import java.util.List;

/**
 * Created by U城网 on 2018/6/19.
 * 返回的社圈各种信息的bean
 */

public class CycleSubPeopleSharesBean {

    private ActBean actBase;
    private ArticleBean article;
    private List<CycleCmtBean> comment;

    private List<CommentItem> commentItemLists;//自定义评论
    private EventBean event;
    private EventVoteBean voteBase;
    private String banReason;

    private long createTime;
    private long cycleId;
    private String cycleName;
    private int cycleType;

    private long id;
    private int imgHeight;
    private int imgWidth;
    private boolean isFollow;
    private boolean isFriends;
    private boolean isLike;
    private int likeCount;
    private String nickName;
    private long referId;
    private int referType;
    private String shareContent;
    private String shareCover;
    private String shareImg;
    private String shareTitle;
    private int shareType;
    private String shareUrl;
    private long uid;
    private long uniId;
    private String uniName;
    private String userAvatar;
    private int videoHeight;
    private String videoJson;//视频id
    private long videoTime;
    private String videoUrl;
    private int videoWidth;

    private List<String> photos;

    public List<String> getPhotos(){
        if (!TextUtils.isEmpty(shareImg)){
            String[] imgs = shareImg.split(";");
            return Arrays.asList(imgs);
        }
        return null;
    }

    public List<CommentItem> getCommentItemLists() {
        return commentItemLists;
    }

    public void setCommentItemLists(List<CommentItem> commentItemLists) {
        this.commentItemLists = commentItemLists;
    }

    public ActBean getActBase() {
        return actBase;
    }

    public void setActBase(ActBean actBase) {
        this.actBase = actBase;
    }

    public ArticleBean getArticle() {
        return article;
    }

    public void setArticle(ArticleBean article) {
        this.article = article;
    }

    public List<CycleCmtBean> getComment() {
        return comment;
    }

    public void setComment(List<CycleCmtBean> comment) {
        this.comment = comment;
    }

    public EventBean getEvent() {
        return event;
    }

    public void setEvent(EventBean event) {
        this.event = event;
    }

    public EventVoteBean getVoteBase() {
        return voteBase;
    }

    public void setVoteBase(EventVoteBean voteBase) {
        this.voteBase = voteBase;
    }

    public String getBanReason() {
        return banReason;
    }

    public void setBanReason(String banReason) {
        this.banReason = banReason;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getCycleId() {
        return cycleId;
    }

    public void setCycleId(long cycleId) {
        this.cycleId = cycleId;
    }

    public String getCycleName() {
        return cycleName;
    }

    public void setCycleName(String cycleName) {
        this.cycleName = cycleName;
    }

    public int getCycleType() {
        return cycleType;
    }

    public void setCycleType(int cycleType) {
        this.cycleType = cycleType;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getImgHeight() {
        return imgHeight;
    }

    public void setImgHeight(int imgHeight) {
        this.imgHeight = imgHeight;
    }

    public int getImgWidth() {
        return imgWidth;
    }

    public void setImgWidth(int imgWidth) {
        this.imgWidth = imgWidth;
    }

    public boolean isFollow() {
        return isFollow;
    }

    public void setFollow(boolean follow) {
        isFollow = follow;
    }

    public boolean isFriends() {
        return isFriends;
    }

    public void setFriends(boolean friends) {
        isFriends = friends;
    }

    public boolean isLike() {
        return isLike;
    }

    public void setLike(boolean like) {
        isLike = like;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public long getReferId() {
        return referId;
    }

    public void setReferId(long referId) {
        this.referId = referId;
    }

    public int getReferType() {
        return referType;
    }

    public void setReferType(int referType) {
        this.referType = referType;
    }

    public String getShareContent() {
        return shareContent;
    }

    public void setShareContent(String shareContent) {
        this.shareContent = shareContent;
    }

    public String getShareCover() {
        return shareCover;
    }

    public void setShareCover(String shareCover) {
        this.shareCover = shareCover;
    }

    public String getShareImg() {
        return shareImg;
    }

    public void setShareImg(String shareImg) {
        this.shareImg = shareImg;
    }

    public String getShareTitle() {
        return shareTitle;
    }

    public void setShareTitle(String shareTitle) {
        this.shareTitle = shareTitle;
    }

    public int getShareType() {
        return shareType;
    }

    public void setShareType(int shareType) {
        this.shareType = shareType;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public long getUniId() {
        return uniId;
    }

    public void setUniId(long uniId) {
        this.uniId = uniId;
    }

    public String getUniName() {
        return uniName;
    }

    public void setUniName(String uniName) {
        this.uniName = uniName;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public int getVideoHeight() {
        return videoHeight;
    }

    public void setVideoHeight(int videoHeight) {
        this.videoHeight = videoHeight;
    }

    public String getVideoJson() {
        return videoJson;
    }

    public void setVideoJson(String videoJson) {
        this.videoJson = videoJson;
    }

    public long getVideoTime() {
        return videoTime;
    }

    public void setVideoTime(long videoTime) {
        this.videoTime = videoTime;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public int getVideoWidth() {
        return videoWidth;
    }

    public void setVideoWidth(int videoWidth) {
        this.videoWidth = videoWidth;
    }
}
